package day10.one03;

public class text {
    public static void main(String[] args) {
        cat mao = new cat();
        dog gou = new dog();
        mao.setColor("白");
        mao.setNum(4);

        gou.setColor("黄");
        gou.setNum(4);

        System.out.println(gou.getColor()+gou.getNum());
        System.out.println(mao.getColor()+mao.getNum());
        mao.catchMouse();
        gou.lookHome();
    }
}
